package com.newland.rbac.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.newland.rbac.model.User;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Yanan
 * @since 2021-07-28
 */
public interface UserService extends IService<User> {
    List<String> findRolesByPrincipal(String principal);
    List<String> findApisByPrincipal(String principal);
}
